<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
cfc('core')->checklogin();
if($_RQ['op']=='main'){
	$params=array('mid'=>$_SESSION['uid'],'type'=>array(0,1,2,3,4));
	if(isset($_RQ['type'])){
		$params['type']=$_RQ['type'];
		$return['params']['type']=$_RQ['type'];
	}
	$return['commission_money']=$this->sum('feelog',$params,'fee');
	$return['commission_total']=$this->count('feelog',$params);
	$return['list']=array();
	$return['psize']=20;
	exi($return);
}
?>